package com.shenmazong.mapper;

import com.shenmazong.entity.TbQuestion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 答辩问题表 ——> John Mapper 接口
 * </p>
 *
 * @author 还怕大雨吗-
 * @since 2021-09-21
 */
public interface TbQuestionMapper extends BaseMapper<TbQuestion> {

    @Select(
            "select * from tb_question where keyword_id = {type}"
    )
    List<TbQuestion> selectQuetion(Object type);
}
